how to translate Python shell code into .py file code
Hi Harrison, The book Natural Language Processing with Python downloaded from nltk.org uses examples for coding in python shell, but the codes do not work when I copy them into my savable python file (.py). how to translate the shell codes into .py file codes please? Many thanks!
You must be logged in to post. Please login or register an account.
I think the only difference in the book is their shell commands have >>> in front of them. You just need to remove those.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.